package com.hyt.it.ogt.kq.service.gov.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author Chengxh
 * @since 2021-08-14
 */
@Data
@Accessors(chain = true)
@ApiModel(value="OfficeRoomParam对象", description="机构考场信息参数对象")
public class OfficeRoomParam {

    @ApiModelProperty(value = "考场id(添加时不传，编辑时必传)")
    private String id;

    @NotBlank(message = "所属考点不能为空")
    @ApiModelProperty(value = "所属考点id(前端必传)")
    private String placeId;

    @NotBlank(message = "考场名称不能为空")
    @ApiModelProperty(value = "考场名称(前端必传)")
    private String name;

    @NotBlank(message = "考场名称不能为空")
    @ApiModelProperty(value = "考场地址(前端必传)")
    private String address;

    @NotNull(message = "机位数不能为空")
    @ApiModelProperty(value = "机位数(前端必传)")
    private Integer seatNum;

    @NotNull(message = "备用机位数不能为空")
    @ApiModelProperty(value = "备用机位数(前端必传)")
    private Integer reserveSeatNum;

    @ApiModelProperty(value = "作答方式，1：电子作答，2：纸笔作答")
    private Integer answerType;

    @ApiModelProperty(value = "是否备用考场，true：是，false：否")
    private Boolean reserve;

    @ApiModelProperty(value = "备注")
    private String remarks;

}
